package com.sp.api.springbootapi.model;

public class TGoodsInfo {
    private String code;

    private String name;

    private Integer amount;

    private Integer version;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public TGoodsInfo() {
    }

    public TGoodsInfo(String code, String name, Integer amount, Integer version) {
        this.code = code;
        this.name = name;
        this.amount = amount;
        this.version = version;
    }
}